package com.knowswift.common.bean.issue.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class SetMonitorIntervalParam {
    @NotBlank(message = "moduleId不能为空")
    private String moduleId;
    @Range(min = 1, max = 2880, message = "检测时间间隔范围在1~2880")
    private Integer monitorInterval;
}
